package com.hqyj.service;

import com.hqyj.pojo.TbComplaint;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
 * <p>
 * 投诉表 服务类
 * </p>
 *
 * @author gp
 * @since 2021-09-25
 */
public interface TbComplaintService {
    //新增
    HashMap<String, Object> add(TbComplaint tbComplaint);

    //修改
    HashMap<String, Object> update(TbComplaint tbComplaint);

    //删除
    HashMap<String, Object> del(Integer id);

    //查询
    HashMap<String, Object> list(TbComplaint tbComplaint);

    //通过姓名查询投诉
    HashMap<String, Object> ownerName(String ownerName);
}
